/* 列表页 样式 */
* {
    margin: 0;
    padding: 0;
    font-size: 20px;
  }
  
  ul, ol, li {
    list-style: none;
  }
  
  a, a:link, a:active, a:hover {
    text-decoration: none;
    color: #333;
  }
  
  input, button, textarea, select {
    outline: none;
  }
  
  button, select {
    cursor: pointer;
  }
  
  img {
    width: 100%;
    height: 100%;
    display: block;
  }
  
  .container {
    width: 1200px;
    margin: 0 auto;
  }
  
  .header {
    height: 60px;
    background-color: #f7460b;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }
  
  .header > span {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
  }
  
  .header > p {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 30px;
    display: none;
  }
  
  .header > p.active {
    display: block;
  }
  



.box {
    border: 1px solid #333;
    box-sizing: border-box;
    margin: 20px auto;
    padding: 15px;
  }
  
  .box>.item {
    display: flex;
    margin-bottom: 15px;
  }
  
  .box>.item>p {
    width: 150px;
    text-align: center;
    padding-top: 5px;
  }
  
  .box>.item>ul {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
  }
  
  .box>.item>ul>li {
    padding: 5px 10px;
    margin-right: 10px;
    margin-bottom: 10px;
    cursor: pointer;
  }
  
  .box>.item>ul>li.active,
  .box>.item>ul>li:hover {
    background-color: pink;
    color: #fff;
  }
  
  .box>.item>ul>input {
    height: 30px;
    padding-left: 20px;
  }
  
  .box>.item>div {
    display: flex;
    align-items: center;
  }
  
  .box>.item>div>span {
    padding: 5px 10px;
  }
  
  .box>.item>div>span.left,
  .box>.item>div>span.right {
    background-color: skyblue;
    cursor: pointer;
  }
  
  .box>.item>div>span.disable {
    background-color: #ccc;
    cursor: not-allowed;
  }
  
  .box>.item>select {
    padding-left: 20px;
    margin: 0 30px;
    width: 100px;
  }
  
  .box>.item>input {
    width: 50px;
    text-align: center;
    margin-right: 10px;
  }
  
  
  .content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .content>li {
    width: 280px;
    border: 1px solid #333;
    height: 500px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
  }
  
  
  /* 穿透下去 */
  .content>li>* {
    pointer-events: none;
  }
  
  .content>li>.info>button {
    pointer-events: all;
  }
  
  /* 到这里结束 */
  
  
  
  .content>li>.show {
    width: 100%;
    height: 280px;
    position: relative;
  }
  
  .content>li>.show>span {
    padding: 3px 10px;
    position: absolute;
    top: 0;
    right: 0;
    background-color: red;
    display: none;
  }
  
  .content>li>.show>span.sale {
    background-color: orange;
    right: 80px;
  }
  
  .content>li>.show>span.active {
    display: block;
  }
  
  .content>li>.info {
    flex: 1;
    box-sizing: border-box;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .content>li>.info>p.title {
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    display: -webkit-box;
  }
  
  .content>li>.info>p.price {
    display: flex;
    justify-content: space-between;
  }
  
  .content>li>.info>p.price>.current {
    font-size: 24px;
    color: red;
  }
  
  .content>li>.info>p.price>.old {
    font-size: 16px;
    text-decoration: line-through;
  }
  
  .content>li>.info>button {
    padding: 5px;
  }